package com.chen.hotel.dao;

import com.chen.hotel.domain.Order;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface OrderDao extends JpaRepository<Order, Integer> {

    Page<Order> findByStatus(Integer status, Pageable request);

}
